﻿#pragma once
#include "Graphics.h"

using namespace DYGraphics;

namespace DYEngine
{
	/// <summary>
	/// 处理Input事件的接口
	/// </summary>
	class InputEventHandle
	{
	public:
		InputEventHandle();
		virtual ~InputEventHandle();

		virtual void ScreenSizeChange(float x, float y) = 0;
		virtual void CursorMove(float x, float y) = 0;
		virtual void KeyPress(int key, int action) = 0;
		virtual void MouseButtonPress(int key, int action) = 0;
		virtual void ScrollEvent(float xoffset, float yoffset) = 0;
	};
}
